package smedi.ismedi.mobile.bff.controller.login;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import smedi.ismedi.mobile.bff.controller.BaseController;

/**
 * 帮助前端登陆的假接口
 * @author YangJin
 */
@RequestMapping("/mobilebff/fakeLogin")
@Api(tags = "假登陆")
@RestController
@Slf4j
public class FakeLoginController extends BaseController {
    /**
     * 获取假的登陆Token
     * @return 登陆Token字符串
     */
    @ApiOperation(httpMethod = "GET", value = "获取假的登陆Token")
    @GetMapping(value = "/getUserInfoEx")
    public String getUserInfoEx() {
        return "Ivj6eZRx40+MTx2ZvnG8nA";
    }
}
